

def laosiji():
    raise Exception("ri")

try:
    laosiji()
except Exception as e:
    print e
